﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Twitter
{
    /// <summary>
    /// Search Metadata for navigation
    /// </summary>
    [DataContract]
    public class SearchMetadata
    {
        /// <summary>
        /// Gets or sets the completed in.
        /// </summary>
        /// <value>
        /// The completed in.
        /// </value>
        [DataMember(Name = "completed_in")]
        public double CompletedIn { get; set; }

        /// <summary>
        /// Gets or sets the max ID.
        /// </summary>
        /// <value>
        /// The max ID.
        /// </value>
        [DataMember(Name = "max_id")]
        public long MaxID { get; set; }

        /// <summary>
        /// Gets or sets the max ID string.
        /// </summary>
        /// <value>
        /// The max ID string.
        /// </value>
        [DataMember(Name = "max_id_str")]
        public string MaxIDString { get; set; }

        /// <summary>
        /// Gets or sets the next results.
        /// </summary>
        /// <value>
        /// The next results.
        /// </value>
        [DataMember(Name = "next_results")]
        public string NextResults { get; set; }

        /// <summary>
        /// Gets or sets the query.
        /// </summary>
        /// <value>
        /// The query.
        /// </value>
        [DataMember(Name = "query")]
        public string Query { get; set; }

        /// <summary>
        /// Gets or sets the refresh URL.
        /// </summary>
        /// <value>
        /// The refresh URL.
        /// </value>
        [DataMember(Name = "refresh_url")]
        public string RefreshUrl { get; set; }

        /// <summary>
        /// Gets or sets the count.
        /// </summary>
        /// <value>
        /// The count.
        /// </value>
        [DataMember(Name = "count")]
        public int Count { get; set; }

        /// <summary>
        /// Gets or sets the since ID.
        /// </summary>
        /// <value>
        /// The since ID.
        /// </value>
        [DataMember(Name = "since_id")]
        public long SinceID { get; set; }

        /// <summary>
        /// Gets or sets the since ID string.
        /// </summary>
        /// <value>
        /// The since ID string.
        /// </value>
        [DataMember(Name = "since_id_str")]
        public string SinceIDString { get; set; }
    }
}
